package com.control.utils;

import android.app.Activity;
import android.content.Context;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.provider.Settings.Secure;
import android.view.Window;
import android.view.WindowManager;

public final class AndroidUtils extends Activity{
	
	public  String getLocalMacAddress() {  
        WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);  
        WifiInfo info = wifi.getConnectionInfo(); 
        return info.getMacAddress();  
    }  
	
	public  String getAdroidId(){
		
		return Secure.getString(getContentResolver(), Secure.ANDROID_ID);
	}
	
	public void fullScreen(){
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
	}
}
